﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CMSMain.aspx.cs" Inherits="CMSMain" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <div>
    <h1>Welcome to vlc CMS</h1>
    <br />
    <h3>Are you still not a member? Then, register...!</h3>
    <h4>(Use the following forms)</h4>
    </div>
    <form id="form1" method="post" runat="server">
    <table>
        <tr>
            <td class="style1" colspan="4"><center><h3>Student Registration</h3></center></td>
        </tr>
        <tr>
            <td class="style1"> Name with Initials (e.g. H.S. Jayasinghe) </td>
            <td> &nbsp; :&nbsp; &nbsp;</td>
            <td colspan="2"> <asp:TextBox ID="txtNameStu" runat="server" Width="380px"></asp:TextBox> </td>
        </tr>
        <tr>
            <td class="style1"> Username</td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2"> <asp:TextBox ID="txtUsernameStu" runat="server" Width="380px"></asp:TextBox> </td>
        </tr>
        <tr>
            <td class="style1"> &nbsp;</td>
            <td> &nbsp;</td>
            <td colspan="2">  
                <asp:Button ID="btnUNAStu" runat="server" Text="Check for Availability" 
                    Width="134px" onclick="btnUNAStu_Click" />
                <asp:Label ID="lblUNAStu" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style1"> Password</td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2"> <asp:TextBox ID="txtPasswordStu" runat="server" 
                    TextMode="Password" Width="380px"></asp:TextBox> </td>
        </tr>
        <tr>
            <td class="style1"> Date of Birth&nbsp; (mm/dd/yyyy)&nbsp;</td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2"> 
                <asp:TextBox ID="txtDoB" runat="server" 
                    Width="380px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1"> Gender</td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2">  
                <asp:DropDownList ID="cmbGender" runat="server" Width="100px">
                    <asp:ListItem Selected="True">Female</asp:ListItem>
                    <asp:ListItem>Male</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style1"> Address </td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2"> 
                <asp:TextBox ID="txtAddress" runat="server" 
                    Width="380px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1"> Contact Number</td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2"> 
                <asp:TextBox ID="txtContactNoStu" runat="server" 
                    Width="380px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1"> E - mail Address</td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2"> <asp:TextBox ID="txtEmailStu" runat="server" Width="380px"></asp:TextBox> </td>
        </tr>
        <tr>
            <td class="style1">
                
                &nbsp;</td>
            <td>
                
                &nbsp;</td>
            <td colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style1">
                
                &nbsp;</td>
            <td>
                
                &nbsp;</td>
            <td><center>
                
                <asp:Button ID="btnSubmitStu" runat="server" style="font-weight: 700" 
                    Text="Submit" Width="86px" Height="35px" onclick="btnSubmitStu_Click" />
            </center></td>
            <td class="style2"><center>
                
                <asp:Button ID="btnResetStu" runat="server" style="font-weight: 700" Text="Reset" 
                    Width="86px" Height="35px" onclick="btnResetStu_Click" />
            </center></td>
        </tr>
        </table>
    <br />
    <asp:Panel ID="Panel1" runat="server" HorizontalAlign="Center">
        <asp:Label ID="lblResultStu" runat="server"></asp:Label>
    </asp:Panel>

        <table>
        <tr>
            <td class="style1" colspan="4"><center><h3>Lecturer Registration</h3></center></td>
        </tr>
        <tr>
            <td class="style1"> Name with Initials (e.g. H.S. Jayasinghe) </td>
            <td> &nbsp; :&nbsp; &nbsp;</td>
            <td colspan="2"> <asp:TextBox ID="txtNameLec" runat="server" Width="380px"></asp:TextBox> </td>
        </tr>
        <tr>
            <td class="style1"> Username</td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2"> <asp:TextBox ID="txtUsernameLec" runat="server" Width="380px"></asp:TextBox> </td>
        </tr>
        <tr>
            <td class="style1"> &nbsp;</td>
            <td> &nbsp;</td>
            <td colspan="2">  
                <asp:Button ID="btnUNALec" runat="server" Text="Check for Availability" 
                    Width="134px" onclick="btnUNALec_Click" />
                <asp:Label ID="lblUNALec" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style1"> Password</td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2"> 
                <asp:TextBox ID="txtPasswordLec" runat="server" 
                    TextMode="Password" Width="380px"></asp:TextBox> </td>
        </tr>
        <tr>
            <td class="style1"> Qualifications</td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2"> 
                <asp:TextBox ID="txtQualifications" runat="server" 
                    Width="380px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1"> Contact Number</td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2"> 
                <asp:TextBox ID="txtContactNoLec" runat="server" 
                    Width="380px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1"> E - mail Address</td>
            <td> &nbsp; :&nbsp;</td>
            <td colspan="2"> <asp:TextBox ID="txtEmailLec" runat="server" Width="380px"></asp:TextBox> </td>
        </tr>
        <tr>
            <td class="style1">
                
                &nbsp;</td>
            <td>
                
                &nbsp;</td>
            <td colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style1">
                
                &nbsp;</td>
            <td>
                
                &nbsp;</td>
            <td><center>
                
                <asp:Button ID="btnSubmitLec" runat="server" style="font-weight: 700" 
                    Text="Submit" Width="86px" Height="35px" onclick="btnSubmitLec_Click" />
            </center></td>
            <td class="style2"><center>
                
                <asp:Button ID="btnResetLec" runat="server" style="font-weight: 700" Text="Reset" 
                    Width="86px" Height="35px" onclick="btnResetLec_Click" />
            </center></td>
        </tr>
        </table>
    <br />
    <asp:Panel ID="Panel2" runat="server" HorizontalAlign="Center">
        <asp:Label ID="lblResultLec" runat="server"></asp:Label>
    </asp:Panel>
   </form>
   <br />
</body>
</html>
